Skip to content

【PIR API adaptor No.217、256、279、280】 Migrate nn.functional.square_error_cost, nn.GaussianNLLLoss/MultiLabelSoftMarginLoss/MultiMarginLoss into pir - #59913

Merged
0x45f merged 3 commits into
PaddlePaddle:developfrom
MarioLulab:luqi/pir_api_loss
Dec 15, 2023

Conversation

@MarioLulab

@MarioLulab MarioLulab commented Dec 11, 2023 •

Copy link
Copy Markdown
Collaborator

PR types

Others

PR changes

Others

Description

任务 issue: #58067

PIR API 推全升级

  1. 将 paddle.nn.functional.square_error_cost 迁移升级至 pir,并更新单测,单测覆盖率(1/2)

  2. 将 paddle.nn.GaussianNLLLoss 迁移升级至 pir,并更新单测,单测覆盖率(0/2)

  3. 将 paddle.nn.MultiLabelSoftMarginLoss 迁移升级至 pir,并更新单测,单测覆盖率(1/1)

  4. 将 paddle.nn.MultiMarginLoss 迁移升级至 pir,并更新单测,单测覆盖率(1/1)

NOTE:

  1. test/legacy_test/test_square_error_cost.py 下的 TestSquareErrorInvalidInput.test_error 单测尚不支持 pir 模式
  2. GaussianNLLLoss 和 gaussian_nll_loss 未迁移,因为涉及 paddle.static.nn.Assert API,该 API 为控制流 API,暂未迁移到 PIR 模式下

@paddle-bot

paddle-bot Bot commented Dec 11, 2023

Copy link
Copy Markdown

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册。
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot paddle-bot Bot added the contributor External developers label Dec 11, 2023
@0x45f
0x45f merged commit 4e9ea06 into PaddlePaddle:develop Dec 15, 2023
@MarioLulab
MarioLulab deleted the luqi/pir_api_loss branch December 26, 2023 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants